﻿using System;
using System.Collections.Generic;
using XSockets.Core.Common.Socket;
using XSockets.Core.Common.Socket.Event.Arguments;
using XSockets.Core.Common.Socket.Event.Attributes;
using XSockets.Core.Common.Socket.Event.Interface;
using XSockets.Core.XSocket;
using XSockets.Core.XSocket.Helpers;
using XSockets.Core.XSocket.Model;

namespace webRTC.Controllers
{


    public partial class Demo : XSocketController
    {
        public Demo()
        {
            this.OnOpen += new System.EventHandler<OnClientConnectArgs>(HandlerController_OnOpen);
        }

        void HandlerController_OnOpen(object sender, OnClientConnectArgs e)
        {

        }
        public override void OnMessage(ITextArgs textArgs)
        {
            this.SendToAll(textArgs);
        }

    }
}